package com.sihan.framework.etm.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
@Data
public class DevicePushDTO implements Serializable {

    private static final long serialVersionUID = 2717951048929264764L;
    @ApiModelProperty(value = "设备id")
    @NotNull(message ="设备id不能为空")
    private String deviceId;

    @ApiModelProperty(value = "推送方式")
    @NotNull(message ="推送方式不能为空")
    private int pushType;

    @ApiModelProperty(value = "推送地址")
    @NotNull(message ="推送地址不能为空")
    private String pushSite;

    @ApiModelProperty(value = "是否启用")
    @NotNull(message ="状态不能为空")
    private Boolean state;



}
